<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>Контролен панел</title>
	<?php
		echo $this->Html->css('cake.generic');
		
		echo '<script type="text/javascript" src="'.SITE_WEBROOT.'front_end/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>';
		echo '<script type="text/javascript" src="'.SITE_WEBROOT.'js/tinymce_adminconfig.js"></script>';
		
		echo $scripts_for_layout;
	?>
</head>
<body>
	<div id="container">
		<div id="header">
		<ul>
			<li style="display: inline;"><?php echo $this->Html->link('Контролен панел', array('locale' => Configure::read('MyApp_Settings.defaultLanguage'), 'admin' => true, 'plugin' => null, 'controller' => 'control_panel', 'action' => 'index'), array('style' => 'color: red;')); ?></li>
			<li style="display: inline;"><?php echo $this->Html->link('Сайт', SITE_WEBROOT, array('target' => '_blank', 'style' => 'color: red;')); ?></li>
		</ul>
		</div>
		<div id="content">
			
			<p><?php echo $this->Html->link('изход', array('locale' => Configure::read('MyApp_Settings.defaultLanguage'), 'admin' => false, 'plugin' => null, 'controller' => 'users', 'action' => 'logout')); ?></p>
			
			<br />
			
			<?php echo $this->Session->flash(); ?>
			<?php echo $content_for_layout; ?>

		</div>
		<div id="footer">
		</div>
	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>